package org.coopac.service.impl;

import org.coopac.dao.ICargoPersonaDAO;
import org.coopac.model.CoopacCargoPersona;
import org.coopac.service.ICargoPersonaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Service("cargoPersonaService")
public class CargoPersonaService implements ICargoPersonaService {

	@Autowired
	private ICargoPersonaDAO cargoPersonaDAO;

	@Override
	public void save(CoopacCargoPersona cargoPersona) {
		cargoPersonaDAO.save(cargoPersona);
	}
	

}
